import http from '@/utils/http'

export const getHomeAPI=()=>{
    return http({
        url:'/model/home',
        method:"GET"
    })
}

export const searchAllFemaleModelAPI=()=>{
    return http({
        url:"/model/home/women",
        method:"GET"
    })
}

export const searchAllMaleModelAPI=()=>{
    return http({
        url:"/model/home/men",
        method:"GET"
    })
}

export const searchModelProfileAPI=(id:number)=>{
    return http({
        url:"/model/home/getPortfolio/"+id,
        method:"GET"
    })
}

export const searchInTownAPI=()=>{
    return http({
        url:'/model/home/inTown',
        method:"GET"
    })
}